package com.lxw.nonghe.mapper;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lxw.nonghe.entity.CooperativeInstitution;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface CooperativeInstitutionMapper extends BaseMapper<CooperativeInstitution> {
    IPage<CooperativeInstitution> selectCooperativeInstitutionPage(
            Page<CooperativeInstitution> page,
            @Param("institutionName") String institutionName,
            @Param("regionCode") String regionCode
    );
}
